from flask import Flask,request
app=Flask(__name__)

@app.route('/index/',methods=['GET','POST'])
def index():
    print(request.form)
    print(request.files)
    file_obj=request.files.get('aaa')
    print(file_obj.filename)
    return 'ok'

app.run()

